package cn.rxls.community.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 维修(Maintenance)表实体类
 *
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("maintenance")
public class Maintenance {
    @TableId(type = IdType.ASSIGN_ID)
    //主键    
    private Long maintenanceId;

    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone = "GMT+8")
    private Date createTime;
    //维修标题
    private String maintenanceTitle;
    //维修地址
    private String maintenanceAddress;
    //预约的上门时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone = "GMT+8")
    private Date maintenanceTime;
    //故障图片
    private String maintenanceImg;
    //故障描述
    private String maintenanceMsg;
    //维修人员
    private String maintenancePersonnel;
    //创建用户id
    private Long maintenanceUser;
    //状态
    private Integer maintenanceState;
    //更新时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone = "GMT+8")
    private Date updateTime;
    //备注
    private String remark;
    //电话号码
    private String maintenancePhone;
    //维修结果图片
    private String maintenanceResultsImg;
    //维修前图片
    private String maintenanceBeforeImg;
    //维修故障原因判断
    private String maintenanceCause;
    //维修上门时间
    private String maintenanceTimer;

}
